/*
 * Copyright 2017 Baiyyy
 * @(#)WorkingState.java
 */

package com.byyy.ccts.modules.common.enums;

/**
 * 异常枚举
 */
public enum ExceptionEnum {

    //此处用于自定义异常的命名及对应状态码和提示信息的设置
    EXCEPTION_BUSINESS_AJAX(200, "业务系统异常");

    //状态码
    private Integer code;

    //异常提示信息
    private String msg;

    ExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
